<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- /fasttmp/mkdist-qt-4.3.5-1211793125/qtopia-core-opensource-src-4.3.5/doc/src/qtcore.qdoc -->
<head>
  <title>Qt 4.3: QtCore Module</title>
  <link rel="prev" href="modules.html" />
  <link rel="contents" href="modules.html" />
  <link rel="next" href="qtgui.html" />
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" valign="top" width="32"><a href="http://www.trolltech.com/products/qt"><img src="images/qt-logo.png" align="left" width="32" height="32" border="0" /></a></td>
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="modules.html"><font color="#004faf">Modules</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
<td align="right" valign="top" width="230"><a href="http://www.trolltech.com"><img src="images/trolltech-logo.png" align="right" width="203" height="32" border="0" /></a></td></tr></table><p>
[Previous: <a href="modules.html">Qt's Modules</a>]
[<a href="modules.html">Qt's Modules</a>]
[Next: <a href="qtgui.html">QtGui Module</a>]
</p>
<h1 align="center">QtCore Module<br /><small></small></h1>
<p>The QtCore module contains core non-GUI functionality. <a href="#details">More...</a></p>
<h2>Namespaces</h2>
<p><table width="100%" class="annotated" cellpadding="2" cellspacing="1" border="0">
<tr valign="top" class="odd"><th><a href="qt.html">Qt</a></th><td>Miscellaneous identifiers used throughout the Qt library</td></tr>
</table></p>
<h2>Classes</h2>
<p><table width="100%" class="annotated" cellpadding="2" cellspacing="1" border="0">
<tr valign="top" class="odd"><th><a href="qabstracteventdispatcher.html">QAbstractEventDispatcher</a></th><td>Interface to manage Qt's event queue</td></tr>
<tr valign="top" class="even"><th><a href="qabstractfileengine.html">QAbstractFileEngine</a></th><td>Abstraction for accessing the filesystem</td></tr>
<tr valign="top" class="odd"><th><a href="qabstractfileenginehandler.html">QAbstractFileEngineHandler</a></th><td>Way to register custom file engines with your application</td></tr>
<tr valign="top" class="even"><th><a href="qabstractfileengineiterator.html">QAbstractFileEngineIterator</a></th><td>Iterator interface for custom file engines</td></tr>
<tr valign="top" class="odd"><th><a href="qabstractitemmodel.html">QAbstractItemModel</a></th><td>The abstract interface for item model classes</td></tr>
<tr valign="top" class="even"><th><a href="qabstractlistmodel.html">QAbstractListModel</a></th><td>Abstract model that can be subclassed to create one-dimensional list models</td></tr>
<tr valign="top" class="odd"><th><a href="qabstracttablemodel.html">QAbstractTableModel</a></th><td>Abstract model that can be subclassed to create table models</td></tr>
<tr valign="top" class="even"><th><a href="qbasictimer.html">QBasicTimer</a></th><td>Timer events for objects</td></tr>
<tr valign="top" class="odd"><th><a href="qbitarray.html">QBitArray</a></th><td>Array of bits</td></tr>
<tr valign="top" class="even"><th><a href="qbuffer.html">QBuffer</a></th><td>QIODevice interface for a QByteArray</td></tr>
<tr valign="top" class="odd"><th><a href="qbytearray.html">QByteArray</a></th><td>Array of bytes</td></tr>
<tr valign="top" class="even"><th><a href="qbytearraymatcher.html">QByteArrayMatcher</a></th><td>Holds a sequence of bytes that can be quickly matched in a byte array</td></tr>
<tr valign="top" class="odd"><th><a href="qcache.html">QCache</a></th><td>Template class that provides a cache</td></tr>
<tr valign="top" class="even"><th><a href="qchar.html">QChar</a></th><td>16-bit Unicode character</td></tr>
<tr valign="top" class="odd"><th><a href="qchildevent.html">QChildEvent</a></th><td>Event parameters for child object events</td></tr>
<tr valign="top" class="even"><th><a href="qconststring.html">QConstString</a></th><td>Wrapper for constant Unicode string data</td></tr>
<tr valign="top" class="odd"><th><a href="qcoreapplication.html">QCoreApplication</a></th><td>Event loop for console Qt applications</td></tr>
<tr valign="top" class="even"><th><a href="qcryptographichash.html">QCryptographicHash</a></th><td>Way to generate cryptographic hashes</td></tr>
<tr valign="top" class="odd"><th><a href="qcustomevent.html">QCustomEvent</a></th><td>Support for custom events</td></tr>
<tr valign="top" class="even"><th><a href="qdatastream.html">QDataStream</a></th><td>Serialization of binary data to a QIODevice</td></tr>
<tr valign="top" class="odd"><th><a href="qdate.html">QDate</a></th><td>Date functions</td></tr>
<tr valign="top" class="even"><th><a href="qdatetime.html">QDateTime</a></th><td>Date and time functions</td></tr>
<tr valign="top" class="odd"><th><a href="qdir.html">QDir</a></th><td>Access to directory structures and their contents</td></tr>
<tr valign="top" class="even"><th><a href="qdiriterator.html">QDirIterator</a></th><td>Iterator for directory entrylists</td></tr>
<tr valign="top" class="odd"><th><a href="qdynamicpropertychangeevent.html">QDynamicPropertyChangeEvent</a></th><td>Event parameters for dynamic property change events</td></tr>
<tr valign="top" class="even"><th><a href="qevent.html">QEvent</a></th><td>The base class of all event classes. Event objects contain event parameters</td></tr>
<tr valign="top" class="odd"><th><a href="qeventloop.html">QEventLoop</a></th><td>Means of entering and leaving an event loop</td></tr>
<tr valign="top" class="even"><th><a href="qfsfileengine.html">QFSFileEngine</a></th><td>Implements Qt's default file engine</td></tr>
<tr valign="top" class="odd"><th><a href="qfile.html">QFile</a></th><td>Interface for reading from and writing to files</td></tr>
<tr valign="top" class="even"><th><a href="qfileinfo.html">QFileInfo</a></th><td>System-independent file information</td></tr>
<tr valign="top" class="odd"><th><a href="qfilesystemwatcher.html">QFileSystemWatcher</a></th><td>Interface for monitoring files and directories for modifications</td></tr>
<tr valign="top" class="even"><th><a href="qflag.html">QFlag</a></th><td>Helper data type for QFlags</td></tr>
<tr valign="top" class="odd"><th><a href="qflags.html">QFlags</a></th><td>Type-safe way of storing OR-combinations of enum values</td></tr>
<tr valign="top" class="even"><th><a href="qgenericargument.html">QGenericArgument</a></th><td>Internal helper class for marshalling arguments</td></tr>
<tr valign="top" class="odd"><th><a href="qgenericreturnargument.html">QGenericReturnArgument</a></th><td>Internal helper class for marshalling arguments</td></tr>
<tr valign="top" class="even"><th><a href="qhash.html">QHash</a></th><td>Template class that provides a hash-table-based dictionary</td></tr>
<tr valign="top" class="odd"><th><a href="qhashiterator.html">QHashIterator</a></th><td>Java-style const iterator for QHash and QMultiHash</td></tr>
<tr valign="top" class="even"><th><a href="qiodevice.html">QIODevice</a></th><td>The base interface class of all I/O devices in Qt</td></tr>
<tr valign="top" class="odd"><th><a href="qlatin1char.html">QLatin1Char</a></th><td>8-bit ASCII/Latin-1 character</td></tr>
<tr valign="top" class="even"><th><a href="qlatin1string.html">QLatin1String</a></th><td>Thin wrapper around an ASCII/Latin-1 encoded string literal</td></tr>
<tr valign="top" class="odd"><th><a href="qlibrary.html">QLibrary</a></th><td>Loads shared libraries at runtime</td></tr>
<tr valign="top" class="even"><th><a href="qlibraryinfo.html">QLibraryInfo</a></th><td>Information about the Qt library</td></tr>
<tr valign="top" class="odd"><th><a href="qline.html">QLine</a></th><td>Two-dimensional vector using integer precision</td></tr>
<tr valign="top" class="even"><th><a href="qlinef.html">QLineF</a></th><td>Two-dimensional vector using floating point precision</td></tr>
<tr valign="top" class="odd"><th><a href="qlinkedlist.html">QLinkedList</a></th><td>Template class that provides linked lists</td></tr>
<tr valign="top" class="even"><th><a href="qlinkedlistiterator.html">QLinkedListIterator</a></th><td>Java-style const iterator for QLinkedList</td></tr>
<tr valign="top" class="odd"><th><a href="qlist.html">QList</a></th><td>Template class that provides lists</td></tr>
<tr valign="top" class="even"><th><a href="qlistiterator.html">QListIterator</a></th><td>Java-style const iterator for QList and QQueue</td></tr>
<tr valign="top" class="odd"><th><a href="qlocale.html">QLocale</a></th><td>Converts between numbers and their string representations in various languages</td></tr>
<tr valign="top" class="even"><th><a href="qmap.html">QMap</a></th><td>Template class that provides a skip-list-based dictionary</td></tr>
<tr valign="top" class="odd"><th><a href="qmapiterator.html">QMapIterator</a></th><td>Java-style const iterator for QMap and QMultiMap</td></tr>
<tr valign="top" class="even"><th><a href="qmetaclassinfo.html">QMetaClassInfo</a></th><td>Additional information about a class</td></tr>
<tr valign="top" class="odd"><th><a href="qmetaenum.html">QMetaEnum</a></th><td>Meta-data about an enumerator</td></tr>
<tr valign="top" class="even"><th><a href="qmetamethod.html">QMetaMethod</a></th><td>Meta-data about a member function</td></tr>
<tr valign="top" class="odd"><th><a href="qmetaobject.html">QMetaObject</a></th><td>Meta-information about Qt objects</td></tr>
<tr valign="top" class="even"><th><a href="qmetaproperty.html">QMetaProperty</a></th><td>Meta-data about a property</td></tr>
<tr valign="top" class="odd"><th><a href="qmetatype.html">QMetaType</a></th><td>Manages named types in the meta-object system</td></tr>
<tr valign="top" class="even"><th><a href="qmimedata.html">QMimeData</a></th><td>Container for data that records information about its MIME type</td></tr>
<tr valign="top" class="odd"><th><a href="qmodelindex.html">QModelIndex</a></th><td>Used to locate data in a data model</td></tr>
<tr valign="top" class="even"><th><a href="qmultihash.html">QMultiHash</a></th><td>Convenience QHash subclass that provides multi-valued hashes</td></tr>
<tr valign="top" class="odd"><th><a href="qmultimap.html">QMultiMap</a></th><td>Convenience QMap subclass that provides multi-valued maps</td></tr>
<tr valign="top" class="even"><th><a href="qmutablehashiterator.html">QMutableHashIterator</a></th><td>Java-style non-const iterator for QHash and QMultiHash</td></tr>
<tr valign="top" class="odd"><th><a href="qmutablelinkedlistiterator.html">QMutableLinkedListIterator</a></th><td>Java-style non-const iterator for QLinkedList</td></tr>
<tr valign="top" class="even"><th><a href="qmutablelistiterator.html">QMutableListIterator</a></th><td>Java-style non-const iterator for QList and QQueue</td></tr>
<tr valign="top" class="odd"><th><a href="qmutablemapiterator.html">QMutableMapIterator</a></th><td>Java-style non-const iterator for QMap and QMultiMap</td></tr>
<tr valign="top" class="even"><th><a href="qmutablesetiterator.html">QMutableSetIterator</a></th><td>Java-style non-const iterator for QSet</td></tr>
<tr valign="top" class="odd"><th><a href="qmutablevectoriterator.html">QMutableVectorIterator</a></th><td>Java-style non-const iterator for QVector and QStack</td></tr>
<tr valign="top" class="even"><th><a href="qmutex.html">QMutex</a></th><td>Access serialization between threads</td></tr>
<tr valign="top" class="odd"><th><a href="qmutexlocker.html">QMutexLocker</a></th><td>Convenience class that simplifies locking and unlocking mutexes</td></tr>
<tr valign="top" class="even"><th><a href="qobject.html">QObject</a></th><td>The base class of all Qt objects</td></tr>
<tr valign="top" class="odd"><th><a href="qobjectcleanuphandler.html">QObjectCleanupHandler</a></th><td>Watches the lifetime of multiple QObjects</td></tr>
<tr valign="top" class="even"><th><a href="qpair.html">QPair</a></th><td>Template class that stores a pair of items</td></tr>
<tr valign="top" class="odd"><th><a href="qpersistentmodelindex.html">QPersistentModelIndex</a></th><td>Used to locate data in a data model</td></tr>
<tr valign="top" class="even"><th><a href="qpluginloader.html">QPluginLoader</a></th><td>Loads a plugin at run-time</td></tr>
<tr valign="top" class="odd"><th><a href="qpoint.html">QPoint</a></th><td>Defines a point in the plane using integer precision</td></tr>
<tr valign="top" class="even"><th><a href="qpointf.html">QPointF</a></th><td>Defines a point in the plane using floating point precision</td></tr>
<tr valign="top" class="odd"><th><a href="qpointer.html">QPointer</a></th><td>Template class that provides guarded pointers to QObjects</td></tr>
<tr valign="top" class="even"><th><a href="qprocess.html">QProcess</a></th><td>Used to start external programs and to communicate with them</td></tr>
<tr valign="top" class="odd"><th><a href="qqueue.html">QQueue</a></th><td>Generic container that provides a queue</td></tr>
<tr valign="top" class="even"><th><a href="qreadlocker.html">QReadLocker</a></th><td>Convenience class that simplifies locking and unlocking read-write locks for read access</td></tr>
<tr valign="top" class="odd"><th><a href="qreadwritelock.html">QReadWriteLock</a></th><td>Read-write locking</td></tr>
<tr valign="top" class="even"><th><a href="qrect.html">QRect</a></th><td>Defines a rectangle in the plane using integer precision</td></tr>
<tr valign="top" class="odd"><th><a href="qrectf.html">QRectF</a></th><td>Defines a rectangle in the plane using floating point precision</td></tr>
<tr valign="top" class="even"><th><a href="qregexp.html">QRegExp</a></th><td>Pattern matching using regular expressions</td></tr>
<tr valign="top" class="odd"><th><a href="qresource.html">QResource</a></th><td>Interface for reading directly from resources</td></tr>
<tr valign="top" class="even"><th><a href="qsemaphore.html">QSemaphore</a></th><td>General counting semaphore</td></tr>
<tr valign="top" class="odd"><th><a href="qset.html">QSet</a></th><td>Template class that provides a hash-table-based set</td></tr>
<tr valign="top" class="even"><th><a href="qsetiterator.html">QSetIterator</a></th><td>Java-style const iterator for QSet</td></tr>
<tr valign="top" class="odd"><th><a href="qsettings.html">QSettings</a></th><td>Persistent platform-independent application settings</td></tr>
<tr valign="top" class="even"><th><a href="qshareddata.html">QSharedData</a></th><td>Base class for shared data objects</td></tr>
<tr valign="top" class="odd"><th><a href="qshareddatapointer.html">QSharedDataPointer</a></th><td>Pointer to a shared data object</td></tr>
<tr valign="top" class="even"><th><a href="qsignalmapper.html">QSignalMapper</a></th><td>Bundles signals from identifiable senders</td></tr>
<tr valign="top" class="odd"><th><a href="qsize.html">QSize</a></th><td>Defines the size of a two-dimensional object using integer point precision</td></tr>
<tr valign="top" class="even"><th><a href="qsizef.html">QSizeF</a></th><td>Defines the size of a two-dimensional object using floating point precision</td></tr>
<tr valign="top" class="odd"><th><a href="qsocketnotifier.html">QSocketNotifier</a></th><td>Support for monitoring activity on a file descriptor</td></tr>
<tr valign="top" class="even"><th><a href="qstack.html">QStack</a></th><td>Template class that provides a stack</td></tr>
<tr valign="top" class="odd"><th><a href="qstring.html">QString</a></th><td>Unicode character string</td></tr>
<tr valign="top" class="even"><th><a href="qstringlist.html">QStringList</a></th><td>List of strings</td></tr>
<tr valign="top" class="odd"><th><a href="qstringmatcher.html">QStringMatcher</a></th><td>Holds a sequence of characters that can be quickly matched in a Unicode string</td></tr>
<tr valign="top" class="even"><th><a href="qstringref.html">QStringRef</a></th><td>Thin wrapper around QString substrings</td></tr>
<tr valign="top" class="odd"><th><a href="qsysinfo.html">QSysInfo</a></th><td>Information about the system</td></tr>
<tr valign="top" class="even"><th><a href="qsystemlocale.html">QSystemLocale</a></th><td>Can be used to finetune the system locale of the user</td></tr>
<tr valign="top" class="odd"><th><a href="qtemporaryfile.html">QTemporaryFile</a></th><td>I/O device that operates on temporary files</td></tr>
<tr valign="top" class="even"><th><a href="qtextcodec.html">QTextCodec</a></th><td>Conversions between text encodings</td></tr>
<tr valign="top" class="odd"><th><a href="qtextcodecplugin.html">QTextCodecPlugin</a></th><td>Abstract base for custom QTextCodec plugins</td></tr>
<tr valign="top" class="even"><th><a href="qtextdecoder.html">QTextDecoder</a></th><td>State-based decoder</td></tr>
<tr valign="top" class="odd"><th><a href="qtextencoder.html">QTextEncoder</a></th><td>State-based encoder</td></tr>
<tr valign="top" class="even"><th><a href="qtextistream.html">QTextIStream</a></th><td>Convenience class for input streams</td></tr>
<tr valign="top" class="odd"><th><a href="qtextostream.html">QTextOStream</a></th><td>Convenience class for output streams</td></tr>
<tr valign="top" class="even"><th><a href="qtextstream.html">QTextStream</a></th><td>Convenient interface for reading and writing text</td></tr>
<tr valign="top" class="odd"><th><a href="qthread.html">QThread</a></th><td>Platform-independent threads</td></tr>
<tr valign="top" class="even"><th><a href="qthreadstorage.html">QThreadStorage</a></th><td>Per-thread data storage</td></tr>
<tr valign="top" class="odd"><th><a href="qtime.html">QTime</a></th><td>Clock time functions</td></tr>
<tr valign="top" class="even"><th><a href="qtimeline.html">QTimeLine</a></th><td>Timeline for controlling animations</td></tr>
<tr valign="top" class="odd"><th><a href="qtimer.html">QTimer</a></th><td>Repetitive and single-shot timers</td></tr>
<tr valign="top" class="even"><th><a href="qtimerevent.html">QTimerEvent</a></th><td>Parameters that describe a timer event</td></tr>
<tr valign="top" class="odd"><th><a href="qtranslator.html">QTranslator</a></th><td>Internationalization support for text output</td></tr>
<tr valign="top" class="even"><th><a href="qurl.html">QUrl</a></th><td>Convenient interface for working with URLs</td></tr>
<tr valign="top" class="odd"><th><a href="quuid.html">QUuid</a></th><td>Stores a Universally Unique Identifier (UUID)</td></tr>
<tr valign="top" class="even"><th><a href="qvarlengtharray.html">QVarLengthArray</a></th><td>Low-level variable-length array</td></tr>
<tr valign="top" class="odd"><th><a href="qvariant.html">QVariant</a></th><td>Acts like a union for the most common Qt data types</td></tr>
<tr valign="top" class="even"><th><a href="qvector.html">QVector</a></th><td>Template class that provides a dynamic array</td></tr>
<tr valign="top" class="odd"><th><a href="qvectoriterator.html">QVectorIterator</a></th><td>Java-style const iterator for QVector and QStack</td></tr>
<tr valign="top" class="even"><th><a href="qwaitcondition.html">QWaitCondition</a></th><td>Condition variable for synchronizing threads</td></tr>
<tr valign="top" class="odd"><th><a href="qwritelocker.html">QWriteLocker</a></th><td>Convenience class that simplifies locking and unlocking read-write locks for write access</td></tr>
</table></p>
<a name="details"></a>
<h2>Detailed Description</h2>
<a name="qtcore"></a><p>All other Qt modules rely on this module. To include the definitions of the module's classes, use the following directive:</p>
<pre> #include &lt;QtCore&gt;</pre>
<p>The QtCore module is part of all <a href="editions.html">Qt editions</a>.</p>
<p>
[Previous: <a href="modules.html">Qt's Modules</a>]
[<a href="modules.html">Qt's Modules</a>]
[Next: <a href="qtgui.html">QtGui Module</a>]
</p>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td width="30%">Copyright &copy; 2008 <a href="trolltech.html">Trolltech</a></td>
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
<td width="30%" align="right"><div align="right">Qt 4.3.5</div></td>
</tr></table></div></address></body>
</html>
